import Vue from 'vue'; //引入vue框架
import { Swipe, SwipeItem, Search, Icon, Tag, List, Cell, DropdownMenu, DropdownItem, Empty, Toast, Tabbar, TabbarItem, Col, Row, Grid, GridItem, Form, Field, Button, Popup } from 'vant'; //按需引入
import 'vant/lib/index.css'; //引入样式
// import 'vant/lib/button/style'; //按需引入样式

/* 
    Layout布局 Col和Row 
    宫格布局 Grid和GridItem
*/
//注册
Vue
    .use(Swipe)
    .use(SwipeItem)
    .use(Search)
    .use(Icon)
    .use(Tag)
    .use(List)
    .use(Cell)
    .use(DropdownMenu)
    .use(DropdownItem)
    .use(Empty)
    .use(Toast)
    .use(Tabbar)
    .use(TabbarItem)
    .use(Col)
    .use(Row)
    .use(Grid)
    .use(GridItem)
    .use(Popup)
    .use(Form)
    .use(Field)
    .use(Button)